package com.ruoyi.feedback.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 反馈信息对象 e_feedback
 *
 * @author ruoyi
 * @date 2024-11-26
 */
public class EFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private Integer questionType;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String feedbackContent;

    /** 反馈来源 */
    @Excel(name = "反馈来源")
    private Integer source;

    /** 反馈时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "反馈时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date feedbackTime;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processingTime;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private Integer processingStatus;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactWay;

    /** 跟进状态 */
    @Excel(name = "跟进状态")
    private Integer needFollowUp;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 反馈图片 */
    @Excel(name = "反馈图片")
    private String img;

    /** 补充反馈 */
    @Excel(name = "补充反馈")
    private String addFeedback;


    /** 快递员外键 */
    @Excel(name = "快递员外键")
    private Integer cid;

    @TableField(exist = false)
    private String cname;

    @TableField(exist = false)
    private String phone;

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public Integer getId()
    {
        return id;
    }
    public void setQuestionType(Integer questionType)
    {
        this.questionType = questionType;
    }

    public Integer getQuestionType()
    {
        return questionType;
    }
    public void setFeedbackContent(String feedbackContent)
    {
        this.feedbackContent = feedbackContent;
    }

    public String getFeedbackContent()
    {
        return feedbackContent;
    }
    public void setSource(Integer source)
    {
        this.source = source;
    }

    public Integer getSource()
    {
        return source;
    }
    public void setFeedbackTime(Date feedbackTime)
    {
        this.feedbackTime = feedbackTime;
    }

    public Date getFeedbackTime()
    {
        return feedbackTime;
    }
    public void setProcessingTime(Date processingTime)
    {
        this.processingTime = processingTime;
    }

    public Date getProcessingTime()
    {
        return processingTime;
    }
    public void setProcessingStatus(Integer processingStatus)
    {
        this.processingStatus = processingStatus;
    }

    public Integer getProcessingStatus()
    {
        return processingStatus;
    }
    public void setContactWay(String contactWay)
    {
        this.contactWay = contactWay;
    }

    public String getContactWay()
    {
        return contactWay;
    }
    public void setNeedFollowUp(Integer needFollowUp)
    {
        this.needFollowUp = needFollowUp;
    }

    public Integer getNeedFollowUp()
    {
        return needFollowUp;
    }
    public void setReplyContent(String replyContent)
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent()
    {
        return replyContent;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setAddFeedback(String addFeedback)
    {
        this.addFeedback = addFeedback;
    }

    public String getAddFeedback()
    {
        return addFeedback;
    }
    public void setCid(Integer cid)
    {
        this.cid = cid;
    }

    public Integer getCid()
    {
        return cid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionType", getQuestionType())
            .append("feedbackContent", getFeedbackContent())
            .append("source", getSource())
            .append("feedbackTime", getFeedbackTime())
            .append("processingTime", getProcessingTime())
            .append("processingStatus", getProcessingStatus())
            .append("contactWay", getContactWay())
            .append("needFollowUp", getNeedFollowUp())
            .append("replyContent", getReplyContent())
            .append("img", getImg())
            .append("addFeedback", getAddFeedback())
            .append("cid", getCid())
            .append("cname", getCname())
            .append("phone", getPhone())
            .append("replyTime", getReplyTime())
            .toString();
    }
}
